/* 版心 */
.wrapper {
    margin: 0 auto;
    width: 1200px;
}

body {
    background-color: #f3f5f7;
}

/** 头部 **/

.header{
    background-color: #ffffff;
    height: 100px;
}
.header .wrapper {
    display: flex;
    padding-top: 29px;
}
/* logo */
.logo a{
    font-size: 0;
    display: block;
    width: 195px;
    height: 41px;
    background-image: url(../images/logo.png);
}

/* 导航 */
.nav {
    margin-left: 102px;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-right: 24px;
}

.nav ul li a {
    display: block;
    font-size: 19px;
    padding: 6px 8px;
    line-height: 27px;
}

.nav ul li .active,
.nav ul li:hover {
    border-bottom: #00a4ff solid 2px;
}

/* 搜索区域 */

.search {
    width: 412px;
    height: 40px;
    display: flex;
    border-radius: 20px;
    background-color: #f3f5f7;
    margin-left: 64px;
    padding-left: 19px;
    padding-right: 16px;
}

.search input  {
    flex: 1;
    border: 0;
    background-color: transparent;
    outline: none;
}

.search input::placeholder {
    font-size: 14px;
    color: #999;
}

.search a {
    align-self: center;
    width: 16px;
    height: 16px;
    background-image: url(../images/search.png);

}

/* 用户 */
.user {
    margin-left: 32px;
}
.user a {
    display: block;
    padding-top: 5px;
}

.user img{
    vertical-align: middle;
    margin-right: 7px;
}

.user span{
    color: #666666;
    font-size: 16px;
}

/* banner */
.banner {

    background-color: #0092cb;
}

.banner .wrapper {
    height: 420px;
    background-image: url(../uploads/banner.png);
    display: flex;
    justify-content: space-between;
}

.banner .left {
    padding: 3px 20px;
    height: 420px;
    width: 191px;
    background-color: rgba(0,0,0,0.42);
}

.banner .left a {
    display: block;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    color: #ffffff;
    background-image: url(../images/right.png);
    background-repeat: no-repeat;
    background-position: right;
}

.banner .left a:hover{
    color: #00a4ff;
    background-image: url(../images/right-hover.png);
}

.banner .right {
    width: 218px;
    height: 305px;
    margin-top: 60px;
    background-color: #209dd5;
    border-radius: 9px;
}

.banner .right h3 {
    margin-top: 18px;
    margin-bottom: 13px;
    margin-left: 14px;
    font-size: 15px;
    color: #ffffff;
}


.right .course {
    height: 257px;
    border-radius: 9px;
    background-color: #ffffff;
    padding: 14px;
}

.banner .right dl {
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.banner .right  dt {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.banner .right  dd {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
}



.banner .right  dd span{
    color: #00a4ff;
}

.banner .right  dd strong {
    color: #7d7d7d;
    font-weight: 400;
}

.allCourse{
    width: 190px;
    height: 32px;
    background-color: #00a4ff;
    border-radius: 15px;
    border: none;
    font-size: 14px;
    color: #ffffff;
}

/* 精品推荐 */
.recommend {
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
    margin-top: 12px;
    padding: 0 20px;
    display: flex;
    line-height: 60px;
}

.recommend h3 {
    font-size: 18px;
    color: #00a4ff;
    font-weight: 400;
}
.recommend ul {
    display: flex;
    flex: 1;
}

.recommend ul li a {
    padding: 0 24px;
    border-right: solid 1px #e0e0e0;
    font-size: 18px;
}

.recommend ul li:last-child a{
    border-right: 0;
}

.recommend .modify {
    font-size: 16px;
    color: #00a4ff;
}

/* 精品课程 */
.content {
    margin-top: 15px;
}

 .hd {
    height: 60px;
    line-height: 60px;
    display: flex;
    justify-content: space-between;
}

.hd h3{
    font-size: 21px;
    font-weight: 400;
}
.hd .more {
    font-size: 14px;
    color: #999;
    background-image: url(../images/more.png);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 20px;
}
.bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}
.bd li{
    width: 228px;
    height: 271px;
    background-color: pink;
    margin-bottom: 14px;
}

.bd li .pic {
    height: 156px;
}

.bd li .text {
    height: 115px;
    background-color: #ffffff;
    padding: 20px;
}


.bd li .text h4 {
    height: 40px;
    margin-bottom: 13px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.bd li .text p{
    font-size: 14px;
    line-height: 20px;
    color: #999;
}


.bd li .text p span{
    color: #fa6400
}

.bd li .text p i {
    font-style: normal;
}

/* 前端 */
.hd ul {
    display: flex;
}

.hd li {
    margin-right: 60px;
    font-size: 16px;
}


.hd li .active{
    color: #00a4ff;
}


.bd {
    display: flex;
    justify-content: space-between;
}
.bd .left {
    width: 228px;
}

.bd .right {
    width: 957px;
}

/* 版权 */
.footer {
    height: 273px;
    background-color: #ffffff;
    margin-top: 60px;
    padding-top: 60px;
}

.footer .wrapper {
    display: flex;
    justify-content: space-between;
}

.footer .wrapper .left {
    width: 440px;
}


.footer .left p {
    margin-top: 24px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    color: #666;
}

.footer .left .download {
    display: block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff; 
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    color: #00a4ff;
}

.footer .right {
    display: flex;
  }
  
  .footer .right dl {
    margin-left: 130px;
  }
  
  .footer .right dt {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 23px;
  }
  
  .footer .right a {
    font-size: 14px;
    color: #666;
    line-height: 24px;
  }